﻿@model Bibilioteca.Models.Catalogo

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Catalogo</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nombre)
    </div>
</fieldset>
@if (Model.Id != 0)
{
    <p>
    
            @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |  
            @Html.ActionLink("Back to List", "Index") 
    </p>
}
else
{ 
    <p>Este usuario no existe </p>
    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
}
